package com.ezerg.proxy;

public class TestServiceProxy {
	//被代理对象
	TestService test;
	
	public TestServiceProxy(TestService test) {
		this.test = test;
	}
	
	public void proxyTestService() {
		System.out.println("静态代理前");
		test.proxy();
		System.out.println("静态代理后");
	}
}
